FROM openjdk:8-jre-slim
# copy sentinel jar
COPY target/sentinel-dashboard.jar /
ENV JAVA_OPTS '-Dserver.port=8084 -Dnacos.address=192.168.10.10:8848 -Dspring.influx.url=http://192.168.10.10:8086'
RUN chmod -R +x /sentinel-dashboard.jar
EXPOSE 8084
CMD java ${JAVA_OPTS} -jar /sentinel-dashboard.jar

